home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _E6BFA19C9576468786853D7E8191F810 < prev    next >
Encoding:
Text File  |  2004-01-06  |  1.1 KB  |  35 lines

  1. //CGVER1.8
  2. vs_1_1
  3. // DX9 Vertex shader generated by NVIDIA Cg compiler
  4. // cgc version 1.1.0003, build date Jul  7 2003  11:55:19
  5. // command line args: -q -profile vs_1_1 -entry main -profileopts dcls
  6. // nv30vp backend compiling 'main' program
  7. //vendor NVIDIA Corporation
  8. //version 1.0.02
  9. //profile vs_1_1
  10. //program main
  11. //semantic main.ModelViewProj : C0
  12. //semantic main.g_VSCONST_0_025_05_1 : C28
  13. //var float4 IN.Position : $vin.POSITION : POSITION : 0 : 1
  14. //var float4 IN.TexCoord0 : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 1
  15. //var float4x4 ModelViewProj : C0 : c[0], 4 : 1 : 1
  16. //var float4 g_VSCONST_0_025_05_1 : C28 : c[28] : 2 : 1
  17. //var float4 HPosition : $vout.POSITION : POSITION : -1 : 1
  18. //var float4 Tex0 : $vout.TEXCOORD0 : TEXCOORD0 : -1 : 1
  19. //var float4 Tex1 : $vout.TEXCOORD1 : TEXCOORD1 : -1 : 1
  20. dcl_texcoord0 v7
  21. dcl_position v0
  22.     mov oT0.xy, v7.xyxx
  23.     dp4 oPos.x, c0, v0
  24.     dp4 oPos.y, c1, v0
  25.     dp4 r0.y, c2, v0
  26.     mov oPos.z, r0.y
  27.     dp4 r0.x, c3, v0
  28.     mov oPos.w, r0.x
  29.     rcp r0.x, r0.x
  30.     mul r0.x, r0.y, r0.x
  31.     mov oT1.xy, r0.x
  32. // 10 instructions
  33. // 1 temp registers
  34. // End of program
  35.